﻿@model GameProject.Models.RegisterModel
@{
    ViewBag.Title = "Nýskrá";
}

<hgroup class="title">
    <h1>@ViewBag.Title.</h1>
    <h2>Stofna nýjan aðgang.</h2>
</hgroup>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <fieldset> 
        <legend>Register Form</legend>
            <ol>
                <li>
                    @Html.LabelFor(m => m.UserName, "Notendanafn")
                    @Html.TextBoxFor(m => m.UserName)
                </li>
                <li>
                    @Html.LabelFor(m => m.Password, "Lykilorð")
                    @Html.PasswordFor(m => m.Password)
                </li>
                <li>
                    @Html.LabelFor(m => m.ConfirmPassword, "Staðfesta lykilorð")
                    @Html.PasswordFor(m => m.ConfirmPassword)
                </li>
                <li>
                    @Html.LabelFor(m => m.Email, "Netfang")
                    @Html.TextBoxFor(m => m.Email)
                    @Html.ValidationMessageFor(m => m.Email)
                </li>
            </ol>
        <p>
            <input type="submit" value="Register" />
        </p>
     </fieldset>
}
